package com.example.security2.mapper;

import com.example.security2.pojo.MyUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from users where username = #{username}")
    public MyUser getUserByUsername(String username);
}
